package com.k2data.k2app.mapper;

import com.k2data.k2app.domain.SysUserRole;
import com.k2data.k2app.mybatis.mapper.K2Mapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 角色DAO接口
 * @author ThinkGem
 * @version 2013-12-05
 */
@Mapper
@Repository
public interface SysUserRoleMapper extends K2Mapper<SysUserRole> {

	int deleteByUserId(Long userId);
	int insertBatch(List<SysUserRole> list);
}
